package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议室对象 jypc_room
 * 
 * @author wxm
 * @date 2022-10-26
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会议室编号 */
    private Long roomid;

    /** 会议室大小 */
    @Excel(name = "会议室大小")
    private Long size;

    /** 会议室名称 */
    @Excel(name = "会议室名称")
    private String roomname;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    private Long buildingid;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remark1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String remark2;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String y11;

    /** 预留字段 */
    @Excel(name = "预留字段")
    private String y12;
    
    private Building building;

    public Building getBuilding() {
		return building;
	}

	public void setBuilding(Building building) {
		this.building = building;
	}

	public void setRoomid(Long roomid) 
    {
        this.roomid = roomid;
    }

    public Long getRoomid() 
    {
        return roomid;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setRoomname(String roomname) 
    {
        this.roomname = roomname;
    }

    public String getRoomname() 
    {
        return roomname;
    }
    public void setBuildingid(Long buildingid) 
    {
        this.buildingid = buildingid;
    }

    public Long getBuildingid() 
    {
        return buildingid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }
    public void setY11(String y11) 
    {
        this.y11 = y11;
    }

    public String getY11() 
    {
        return y11;
    }
    public void setY12(String y12) 
    {
        this.y12 = y12;
    }

    public String getY12() 
    {
        return y12;
    }

	@Override
	public String toString() {
		return "Room [roomid=" + roomid + ", size=" + size + ", roomname=" + roomname + ", buildingid=" + buildingid
				+ ", status=" + status + ", remark1=" + remark1 + ", remark2=" + remark2 + ", y11=" + y11 + ", y12="
				+ y12 + ", building=" + building + "]";
	}


}
